package lotus.blog.lotusblog.controller;


import lotus.blog.lotusblog.mapper.UserMapper;
import lotus.blog.lotusblog.pojo.User;
import lotus.blog.lotusblog.utils.JwtToken;
import lotus.blog.lotusblog.utils.JwtUtil;
import lotus.blog.lotusblog.utils.ResultTemplate;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

@RestController
public class TestController {
    @Autowired
    JwtUtil jwtUtil;
    @Autowired
    private UserMapper userMapper;}


